<script setup lang="ts">
import { useTestContext } from './useContext';

let { name, age, height } = useTestContext();
const context = useTestContext();
console.log(context);
function handleClick () {
  context.name.value = 'test';
  context.height = 190;
}
</script>

<template>
  <div>child-two</div>
  <div>名字：{{ name }} 年龄：{{ age }} 高度：{{ height }}</div>
  <button @click="handleClick">改变名称</button>
</template>

